/*
 * Copyright (c) 2020, 2025, keyila All rights reserved.
 *
 */
package com.clp.study.Test.ElevenToTwenty;

import java.util.ArrayList;

/**
 * @author clp
 * @version 1.0
 */
public class ThreeQ {
    public static void main(String[] args) {
        ArrayList<Integer> list=new ArrayList<>();
        list.add(1);
        list.add(2);
        for (int i = 0; i <list.size();i++) {
            list.remove(i);
        }
        System.out.println(list);
    }
}
